package resfoods.biz;

import com.yc.entity.AddrInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import resfoods.dao.AddrInfoDao;

import java.util.List;

/**
 * @program: freshgoodPro
 * @description:
 * @author: Joker
 * @create: 2023-09-26 19:23
 */
@Service
public class AddrBizImpl implements AddrBiz {
    @Autowired
    private AddrInfoDao addrInfoDao;

    @Override
    public List<AddrInfo> findBymno(Integer mno) {
        return addrInfoDao.findbymno(mno);
    }

    @Override
    public int add(AddrInfo addrInfo) {
        return addrInfoDao.add(addrInfo);
    }
}
